package com.xmg.server.goods.mapper;

import com.xmg.shop.api.domain.SkuProperty;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SkuPropertyMapper {
    int deleteByPrimaryKey(@Param("id") Long id);

    int insert(SkuProperty record);

    SkuProperty selectByPrimaryKey(Long id);

    List<SkuProperty> selectAll();

    int updateByPrimaryKey(SkuProperty record);

    List<SkuProperty> selectByCatalogId(Long catalogId);
}